/*******************************************************************************
 * Package: com.hngtrust.etl.job.controller.vo
 * Type:    DemoReqVO
 * Date:    2020-11-18 14:24
 *
 * Copyright (c) 2020 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.industry.controller.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 行业新增和编辑请求
 * @author Chentianyong
 * @date 2021-12-7 14:24
 */
@ApiModel(description = "行业新增和编辑请求")
@Data
public class EditIndustryReqVO {
    /**
     * id
     */
    @ApiModelProperty(value = "ID，修改时必填", dataType = "Long")
    private Long id;
    /**
     * 行业名称
     */
    @Length(max = 60)
    @ApiModelProperty(value = "行业名称", dataType = "String")
    private String name;
    /**
     * 上级行业代码
     */
    @Length(max = 20)
    @ApiModelProperty(value = "上级行业代码", dataType = "String")
    private String parentCode;
    
}
